Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Google Cloud DNS #706

Merged
merged 1 commit into from
Jul 29, 2015
Merged

Conversation

stephenplusplus
Copy link
Contributor

Fixes #486

To Dos

  • Add support for SPF records in Support SPF records elgs/dns-zonefile#11
  • Tests
    • Unit
      • util.exec
      • dns/index
      • dns/zone
      • dns/record
      • dns/change
    • System
  • Add GCLOUD_TESTS_DNS_DOMAIN env var to travis (value: gcloud-node.com.)
  • Docs

Docs: https://stephenplusplus.github.io/gcloud-node-gh-pages-again/#/docs/master/dns

@stephenplusplus stephenplusplus added api: dns Issues related to the Cloud DNS API. don't merge labels Jul 6, 2015
@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jul 6, 2015
});
});

it('should replace records', function(done) {

This comment was marked as spam.

@stephenplusplus
Copy link
Contributor Author

Assigned to @callmehiphop for a review, please. Probably easiest to start with the docs, and make sure the API looks sane.

* @example
* dns.getZones(function(err, zones, apiResponse) {});
*/
DNS.prototype.getZones = function(query, callback) {

This comment was marked as spam.

This comment was marked as spam.

@stephenplusplus
Copy link
Contributor Author

@jgeewax Since we're trapped on what we can do with system testing (re: the error The 'gcloud-node.com.' managed zone is not available to be created.), here are the options we have that I can think of:

  1. Look for a GCLOUD_TESTS_DNS_DOMAIN env var and use it for system testing. This is how it is in this PR currently, and how I've been testing with my stephenplusplus.com. domain (which has yet to run into the issues gcloud-node.com. has)
  2. If the env var is set, try to create a zone. If it fails with the error above, try to get a list of zones that already exist, and use one of them to complete the tests that don't involve creating/deleting zones with.
  3. If we can't get a zone, or any of the above failed, skip the DNS tests.

It's not exactly pretty to make our tests run like that, but it's possible.

var path = '/managedZones/' + this.name;
this.makeReq_('DELETE', path, null, null, function(err, resp) {
callback(err, resp);
});

This comment was marked as spam.

This comment was marked as spam.

@jgeewax
Copy link
Contributor

jgeewax commented Jul 21, 2015

I can't find anywhere in any of my projects that have a zone for gcloud-node.com ... I opened a ticket asking WTF is going on... because that's super weird. If you know a project that has the zone created... lmk... I'd really like to use gcloud-node as the demo domain...

}

if (query.sort) {
query.sortBy = 'changeSequence';

This comment was marked as spam.

This comment was marked as spam.

stephenplusplus added a commit to stephenplusplus/gcloud-node that referenced this pull request Jul 21, 2015
@callmehiphop
Copy link
Contributor

LGTM

@stephenplusplus
Copy link
Contributor Author

If you know a project that has the zone created... lmk... I'd really like to use gcloud-node as the demo domain...

Don't know of one, and me too re: gcloud-node.com. I assigned to you since this is our last step before merging. If you prefer we merge with the system tests shut off for now and track the domain stuff in a new issue, that's cool too.

@stephenplusplus
Copy link
Contributor Author

@jgeewax As this PR sits now, our system tests work like this:

  • Is an env var called "GCLOUD_TESTS_DNS_DOMAIN" set?
    • Yes: run the DNS system tests using that domain
    • No: don't run the DNS system tests

Testing locally with GCLOUD_TESTS_DNS_DOMAIN set to gcloud-node.com. works for me now. I set the env var in travis, too. Merging this should run the tests and "just work". Want to press the green button? :)

@jgeewax
Copy link
Contributor

jgeewax commented Jul 29, 2015

SGTM - but I'll let you do the merge :P

stephenplusplus added a commit that referenced this pull request Jul 29, 2015
@stephenplusplus stephenplusplus merged commit f57d3b1 into googleapis:master Jul 29, 2015
@stephenplusplus
Copy link
Contributor Author

Yolo!

sofisl pushed a commit that referenced this pull request Sep 27, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/mocha](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^8.0.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/8.2.3/9.1.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/compatibility-slim/8.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/confidence-slim/8.2.3)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-video-intelligence).
sofisl pushed a commit that referenced this pull request Nov 9, 2022
[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [@types/mocha](https://togithub.com/DefinitelyTyped/DefinitelyTyped) | [`^8.0.0` -> `^9.0.0`](https://renovatebot.com/diffs/npm/@types%2fmocha/8.2.3/9.1.1) | [![age](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/compatibility-slim/8.2.3)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/npm/@types%2fmocha/9.1.1/confidence-slim/8.2.3)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: "after 9am and before 3pm" (UTC).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

♻ **Rebasing**: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] <!-- rebase-check -->If you want to rebase/retry this PR, click this checkbox.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/nodejs-video-intelligence).
sofisl pushed a commit that referenced this pull request Nov 11, 2022
sofisl pushed a commit that referenced this pull request Nov 11, 2022
🤖 I have created a release \*beep\* \*boop\*
---
## [3.4.0](https://www.github.com/googleapis/nodejs-dialogflow/compare/v3.3.0...v3.4.0) (2021-03-15)


### ⚠ BREAKING CHANGES

* removed ImportAgentResponse which was not ready for use yet

### Features

* add additional_bindings to Dialogflow v2 ListIntents API docs: update copyrights and session docs ([66cd3a5](https://www.github.com/googleapis/nodejs-dialogflow/commit/66cd3a5b5c605deb37efbc4f87edf17b8d4dd4c1))
* add additional_bindings to Dialogflow v2beta1 ListIntents API docs: update copyrights and session docs ([66cd3a5](https://www.github.com/googleapis/nodejs-dialogflow/commit/66cd3a5b5c605deb37efbc4f87edf17b8d4dd4c1))
* add CCAI API ([a93fa71](https://www.github.com/googleapis/nodejs-dialogflow/commit/a93fa71d45cace7822d5585a8a407e3e7e563686))
* added support for regionalization for document API ([#722](https://www.github.com/googleapis/nodejs-dialogflow/issues/722)) ([b6f5738](https://www.github.com/googleapis/nodejs-dialogflow/commit/b6f5738613fc5af49b966d4a8c4137921abed5ef))
* adds style enum ([72bb3ae](https://www.github.com/googleapis/nodejs-dialogflow/commit/72bb3aed5fbe9a605810cce69a12fd3c5e4d1fac))
* allowed custom to specify webhook headers through query parameters ([#724](https://www.github.com/googleapis/nodejs-dialogflow/issues/724)) ([a7f784a](https://www.github.com/googleapis/nodejs-dialogflow/commit/a7f784ac921a750e9df2e6edbfa3bee870187af1))


### Bug Fixes

* **browser:** check for fetch on window ([#718](https://www.github.com/googleapis/nodejs-dialogflow/issues/718)) ([fb28879](https://www.github.com/googleapis/nodejs-dialogflow/commit/fb28879443c27688d1923d6675ea97c3c5d4d0e7))
* do not modify options object, use defaultScopes ([#706](https://www.github.com/googleapis/nodejs-dialogflow/issues/706)) ([95a938d](https://www.github.com/googleapis/nodejs-dialogflow/commit/95a938dbc5f2cc49c217bb5d3cecbbffba3e6d18))
* remove MixedAudio ([a93fa71](https://www.github.com/googleapis/nodejs-dialogflow/commit/a93fa71d45cace7822d5585a8a407e3e7e563686))
* removed ImportAgentResponse which was not ready for use yet ([e0d9fa6](https://www.github.com/googleapis/nodejs-dialogflow/commit/e0d9fa69bba79540c09ec777b3eee6bf0bd5e4b6))
---


This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: dns Issues related to the Cloud DNS API. cla: yes This human has signed the Contributor License Agreement.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants